package com.dc.project.model;

import java.io.Serializable;
import java.util.Date;

public class KnowlgQuestion implements Serializable {
	/**
	 * 题目自增id
	 *
	 */
	private int question_id;

	/**
	 * 所属课程id
	 *
	 */
	private int course_id;

	/**
	 * 所属知识点id
	 *
	 */
	private int fk_knowledge_id;

	/**
	 * 题目类型0未定1单选2多选3判断
	 *
	 */
	private int type;

	/**
	 * 题目难度0未设置1入门(0)2一般(1)3优秀(2)4一般面试(3)5大企业面试(4)
	 *
	 */
	private int difficulty;

	/**
	 * 题目权重0-9
	 *
	 */
	private int weight;

	/**
	 * 题目状态0筹备1启用
	 *
	 */
	private int state;

	/**
	 * 题目名
	 *
	 */
	private String name;

	/**
	 * 题目选项A
	 *
	 */
	private String option_a;

	/**
	 * 题目选项B
	 *
	 */
	private String option_b;

	/**
	 * 题目选项C
	 *
	 */
	private String option_c;

	/**
	 * 题目选项D
	 *
	 */
	private String option_d;

	/**
	 * 题目选项E
	 *
	 */
	private String option_e;

	/**
	 * 题目选项F
	 *
	 */
	private String option_f;

	/**
	 * 正确答案0错误1正确单选ABCD,多选逗号分隔
	 *
	 */
	private String key;

	/**
	 * 简单讲解(网友说)
	 *
	 */
	private String explain_simple;

	/**
	 * 详细讲解(教师说)
	 *
	 */
	private String explain_detaile;

	/**
	 * 创建人用户id
	 *
	 */
	private int create_user_id;

	/**
	 * 创建人用户名
	 *
	 */
	private String create_user_name;

	/**
	 * 创建时间
	 *
	 */
	private Date create_time;

	/**
	 * 更新人用户id
	 *
	 */
	private int update_user_id;

	/**
	 * 更新人用户名
	 *
	 */
	private String update_user_name;

	/**
	 * 更新时间
	 *
	 */
	private Date update_time;

	/**
	 * 0删除1存在
	 *
	 */
	private int is_deleted;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


	/**
	 */
	private static final long serialVersionUID = 1L;

	public int getQuestion_id() {
		return question_id;
	}

	public void setQuestion_id(int question_id) {
		this.question_id = question_id;
	}

	public int getCourse_id() {
		return course_id;
	}

	public void setCourse_id(int course_id) {
		this.course_id = course_id;
	}

	public int getFk_knowledge_id() {
		return fk_knowledge_id;
	}

	public void setFk_knowledge_id(int fk_knowledge_id) {
		this.fk_knowledge_id = fk_knowledge_id;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getDifficulty() {
		return difficulty;
	}

	public void setDifficulty(int difficulty) {
		this.difficulty = difficulty;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOption_a() {
		return option_a;
	}

	public void setOption_a(String option_a) {
		this.option_a = option_a;
	}

	public String getOption_b() {
		return option_b;
	}

	public void setOption_b(String option_b) {
		this.option_b = option_b;
	}

	public String getOption_c() {
		return option_c;
	}

	public void setOption_c(String option_c) {
		this.option_c = option_c;
	}

	public String getOption_d() {
		return option_d;
	}

	public void setOption_d(String option_d) {
		this.option_d = option_d;
	}

	public String getOption_e() {
		return option_e;
	}

	public void setOption_e(String option_e) {
		this.option_e = option_e;
	}

	public String getOption_f() {
		return option_f;
	}

	public void setOption_f(String option_f) {
		this.option_f = option_f;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getExplain_simple() {
		return explain_simple;
	}

	public void setExplain_simple(String explain_simple) {
		this.explain_simple = explain_simple;
	}

	public String getExplain_detaile() {
		return explain_detaile;
	}

	public void setExplain_detaile(String explain_detaile) {
		this.explain_detaile = explain_detaile;
	}

	public int getCreate_user_id() {
		return create_user_id;
	}

	public void setCreate_user_id(int create_user_id) {
		this.create_user_id = create_user_id;
	}

	public String getCreate_user_name() {
		return create_user_name;
	}

	public void setCreate_user_name(String create_user_name) {
		this.create_user_name = create_user_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public int getUpdate_user_id() {
		return update_user_id;
	}

	public void setUpdate_user_id(int update_user_id) {
		this.update_user_id = update_user_id;
	}

	public String getUpdate_user_name() {
		return update_user_name;
	}

	public void setUpdate_user_name(String update_user_name) {
		this.update_user_name = update_user_name;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public int getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(int is_deleted) {
		this.is_deleted = is_deleted;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", question_id=").append(question_id);
		sb.append(", course_id=").append(course_id);
		sb.append(", fk_knowledge_id=").append(fk_knowledge_id);
		sb.append(", type=").append(type);
		sb.append(", difficulty=").append(difficulty);
		sb.append(", weight=").append(weight);
		sb.append(", state=").append(state);
		sb.append(", name=").append(name);
		sb.append(", option_a=").append(option_a);
		sb.append(", option_b=").append(option_b);
		sb.append(", option_c=").append(option_c);
		sb.append(", option_d=").append(option_d);
		sb.append(", option_e=").append(option_e);
		sb.append(", option_f=").append(option_f);
		sb.append(", key=").append(key);
		sb.append(", explain_simple=").append(explain_simple);
		sb.append(", explain_detaile=").append(explain_detaile);
		sb.append(", create_user_id=").append(create_user_id);
		sb.append(", create_user_name=").append(create_user_name);
		sb.append(", create_time=").append(create_time);
		sb.append(", update_user_id=").append(update_user_id);
		sb.append(", update_user_name=").append(update_user_name);
		sb.append(", update_time=").append(update_time);
		sb.append(", is_deleted=").append(is_deleted);
		sb.append("]");
		return sb.toString();
	}

}